package com.ruoyi.ai.service;


import com.alibaba.dashscope.aigc.generation.GenerationResult;
import com.ruoyi.ai.bo.CheckAnswerResultBo;
import io.reactivex.Flowable;

import java.io.IOException;

/**
 * 大模型服务接口
 *
 * @author coach tam
 */
public interface LargeModelService {


    /**
     * 检查答案(流式)
     * @param question 问题
     * @param answer   答案
     * @return 检查结果
     */
    Flowable<GenerationResult> streamCheckAnswer(String question, String answer);
}
